home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / msdos / lynx / source / doslynx / src / theapvi4.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-25  |  663 b   |  25 lines

  1. //    Copyright (c) 1993, University of Kansas, All Rights Reserved
  2. //
  3. //    Class:        THeapView
  4. //    Include File:    THeapView.H
  5. //    Purpose:    Display amount of remaining heap memory
  6. //    Remarks/Portability/Dependencies/Restrictions:
  7. //    Revision History:
  8. //        12-13-93    created
  9. //        02-10-94    Split all members into seperate files.
  10. #include"theapview.h"
  11.  
  12. void THeapView::update()    {
  13. //    Purpose:    Update the view if memory usage has changed.
  14. //    Arguments:    void
  15. //    Return Value:    void
  16. //    Remarks/Portability/Dependencies/Restrictions:
  17. //    Revision History:
  18. //        12-13-93    created
  19.  
  20.     if((PresMem = GetHeapSize()) != PastMem)    {
  21.         PastMem = PresMem;
  22.         drawView();
  23.     }
  24. }
  25.